<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>错误提示</title>

<script type="text/javascript" src="/static/js/ext/adapter/ext/ext-base.js"></script>
<script type="text/javascript" src="/static/js/ext/ext-all.js"></script>
<link rel="stylesheet" type="text/css"	href="/static/js/ext/resources/css/ext-all.css"/>

<script>
function gotoLogin(){
//parent.window.location.href = '/login/agentLogin.action';


	if(parent.window){
		parent.window.location.href = '/login/agentLogin.action';
	}else {
		window.location.href = '/login/agentLogin.action';
	}

}
Ext.onReady(function(){
	//Ext.MessageBox.confirm("错误","<font color='red'>对不起，您还没有登录系统<font>");
	Ext.MessageBox.confirm("确认错误", "<font color='red'>对不起，您还没有登录系统<font>",
			function(btn) {
				if (btn == "yes") {
					gotoLogin();
				} else {
					gotoLogin();
				}
			});
});
</script>
</head>
</html>

